<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>


<form th:action="@{/employee/addEmployee}" method="post">
    姓名：<input type="text" name="ename"/><br/>
    密码：<input type="text" name="password"/><br>
    性别：<select name="sex">
    <option value="1">男</option>
    <option value="2">女</option>
</select><br/>
    出生日期:<input type="date" name="birth"><br>
    入职时间:<input type="date" name="jointime"><br>
    学历:<select name="xueli">
    <option value="1">本科</option>
    <option value="2">专科</option>
</select><br>
    职务:<select name="pid">
    <option th:each="po : ${post}" th:value="${po.pid}" th:text="${po.pname}"></option>
</select><br>
    住址:<input type="text" name="address"><br>
    电话:<input type="text" name="phone"><br>
    紧急联系人:<input type="text" name="man"><br>
    部门:<select name="did">
    <option th:each="de : ${department}" th:value="${de.did}" th:text="${de.dname}"></option>
</select><br>
    权限:<select name="quanxian">
    <option value="1">老板</option>
    <option value="2">经理</option>
    <option value="3">普通用户</option>
</select><br>
    <input type="submit" value="确定"/><br/>
</form>
</body>
</html>